using System.Data;
using VanTaiData;
namespace VanTaiBLL
{
    public class clsTMContBusiness
    {
        public static clsTMContController cls = new clsTMContController();

        #region[Get-Data]
        public DataTable BindGirdTMCont()
        {
            return cls.BindGirdTMCont();
        }
        public DataTable BindGirdTMCont_Detail_Edit(int id)
        {
            return cls.BindGirdTMCont_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMCont(clsTMContProperty obj)
        {
            return cls.InsertTMCont(obj);
        }
        public static bool UpdateTMCont(clsTMContProperty obj)
        {
            return cls.UpdateTMCont(obj);
        }
        public static bool DeleteTMCont(int id)
        {
            return cls.DeleteTMCont(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}